<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Store test page</title>
		<link type="text/css" href="css/smoothness/jquery-ui-1.8.22.custom.css" rel="stylesheet" />
		<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.8.22.custom.min.js"></script>
		<script type="text/javascript">
			$(function(){
				$('#div1').draggable({zIndex: 20,  opacity: 0.5 });
				options = {}
				options.activeClass = 'activeClass';
				options.hoverClass = 'hoverClass';
				options.drop = function(event,info){
					alert($(info.draggable).attr('id'));
				}
				options.out = function(element) {
					alert(this.id);
				}
				options.accept = '.draggable';
				$('#bucket').droppable(options);
			});
		</script>
		<style type="text/css">
			.draggable { border: solid 1px; width: 200px; height: 150px; overflow: auto; background-color: grey; }
			.bucket { border: solid 3px; width: 400px; height: 250px; }
			.activeClass { background-color: green; }
			.hoverClass { background-color: blue; }
		</style>
	</head>
	<body>
	<h1>jQuery UI test page</h1>
	<p>
		<input type="button" id="" value=""/>
	</p>

	<div id="div1" class="draggable" >
		<p>Some example text inside div element</p>
	</div>

	<div id="bucket" class="bucket" >

	</div>
	</body>
</html>




